﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VelesDBCore;

namespace VelesPresentation
{
    public interface ICategoryView : IView
    {
        List<Category> Categories { set; }
        List<VelesDBCore.Attribute> Attributes { set; }
        List<VelesDBCore.Attribute> CategoryAttributes { set; }

        Category CurrentCategory { get; }
        List<VelesDBCore.Attribute> SelectedAttributes { get; }
        List<VelesDBCore.Attribute> SelectedCategoryAttributes { get; }
 
        event VoidEventHandler GetCategories;
        event VoidEventHandler AddCategory;
        event VoidEventHandler AddSubCategory;
        event VoidEventHandler EditCategory;
        event VoidEventHandler RemoveCategory;
        event VoidEventHandler AddAttributesToCategory;
        event VoidEventHandler RemoveAttributesFromCategory;
    }
}
